﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="XuatVoList.aspx.cs" Inherits="WebApplication.Admin.XuatVoList" MasterPageFile="~/Admin/Web.Master" %>
<asp:Content ContentPlaceHolderID="Header" runat="server">
</asp:Content>
<asp:Content ContentPlaceHolderID="maint" runat="server">
<div style=" float:right;">
<asp:LinkButton runat="server" ID="lbtnthemmoi" CssClass="btn btn-info" onclick="lbtnthemmoi_Click" 
              >Thêm mới</asp:LinkButton>

</div>
<asp:GridView ID="Grxuatvo" runat="server" 
        CssClass="table table-striped table-bordered table-hover" 
        AutoGenerateColumns="False" onrowcommand="Grxuatvo_RowCommand" AllowPaging="True" OnSelectedIndexChanging="Grxuatvo_SelectedIndexChanging">
    <Columns>
        <asp:TemplateField HeaderText="STT">
            <ItemTemplate>
                <%# Container.DataItemIndex+1 %>
            </ItemTemplate>
        </asp:TemplateField>
        <asp:BoundField DataField="MAHDXUATVO" HeaderText="Mã vỏ xuất" />
        <asp:BoundField DataField="NGAYTHANG" HeaderText="Ngày tháng" />
        <asp:BoundField DataField="SOLUONGXUAT" HeaderText="Số lượng" />
        <asp:TemplateField HeaderText="Chức năng">
        <ItemTemplate>
         <asp:LinkButton runat="server" ID="lbtnsua" CommandName="lbtnsua" CommandArgument='<%#Bind("MAHDXUATVO") %>'><i class="icon-pencil bigger-130"></i></asp:LinkButton>
 <asp:LinkButton runat="server" ID="lbtnxoa" CommandName="lbtnxoa" CommandArgument='<%#Bind("MAHDXUATVO") %>' OnClientClick="return confirm('Bạn có muỗn xóa không?');"><i class="icon-trash bigger-130 red"></i></asp:LinkButton>
 </ItemTemplate>
        </asp:TemplateField>
    </Columns>
    </asp:GridView>
</asp:Content>


